<?php



?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <meta name="description" content=""/>
    <meta name="keywords" content=""/>
    <meta name="viewport" content="width=device-width">
    <!-- CSS Part Start-->
    <link rel="stylesheet" type="text/css"
          href="<?php echo Yii::app()->request->baseUrl; ?>/assets/theme_a/css/stylesheet.css"/>
    <link rel="stylesheet" type="text/css"
          href="<?php echo Yii::app()->request->baseUrl; ?>/assets/theme_a/css/slideshow.css" media="screen"/>
    <link rel="stylesheet" type="text/css"
          href="<?php echo Yii::app()->request->baseUrl; ?>/assets/theme_a/css/flexslider.css" media="screen"/>
    <link rel="stylesheet" type="text/css"
          href="<?php echo Yii::app()->request->baseUrl; ?>/assets/theme_a/js/colorbox/colorbox.css" media="screen"/>
    <link rel="stylesheet" type="text/css"
          href="<?php echo Yii::app()->request->baseUrl; ?>/assets/theme_a/css/carousel.css" media="screen"/>
    <!-- CSS Part End-->

    <!-- Google Fonts (Droid Sans) Start -->
    <link href='http://fonts.googleapis.com/css?family=Droid+Sans&amp;v1' rel='stylesheet' type='text/css'>
    <link href='http://fonts.googleapis.com/css?family=&amp;v1' rel='stylesheet' type='text/css'>
    <!-- Google Fonts (Droid Sans) End -->
    <title><?php echo CHtml::encode($this->pageTitle); ?></title>
</head>

<body>


<div class="wrapper-box">
    <div class="main-wrapper">
        <!--Header Part Start-->
        <header id="header" class="style2">
            <div class="htop">
                <div id="language"><span>Language<b></b></span>
                    <ul>
                        <li><a title="English"><img
                                    src="<?php echo Yii::app()->request->baseUrl; ?>/assets/theme_a/image/flags/gb.png"
                                    alt="English"/>English</a></li>
                        <li><a title="Vietnamese"><img
                                    src="<?php echo Yii::app()->request->baseUrl; ?>/assets/theme_a/image/flags/vn.png"
                                    alt="Vietnamese"/>Vietnamese</a></li>
                    </ul>
                </div>
            </div>
            <section class="hsecond">
                <div
                    id="logo"><?php echo CHtml::link('<img src="' . Yii::app()->request->baseUrl . '/assets/theme_a/image/logo.png" alt="' . $this->pageTitle . '" title="' . $this->pageTitle . '" />', array('/site/index')); ?></div>
                <div id="search">
                    <div class="button-search"></div>
                    <input type="text" name="search" placeholder="Search" value=""/>
                </div>

                <div class="clear"></div>
            </section>
            <nav id="menu">
                <ul>
                    <li class="home"><?php echo CHtml::link('<span>Home</span>', array('/main/index'), array('title' => 'Home')); ?></li>
                    <li class="categories_hor"><a>Categories</a>
                        <?php
                        $this->widget('application.extensions.Menu.QMenu');
                        ?>
                    </li>
                    <li><?php echo CHtml::link("<span>About Us</span>", array('/site/page', 'view' => 'about'), array('title' => 'About Us')) ?></li>
                    <li><?php echo CHtml::link("<span>News</span>", array('/site/news'), array('title' => 'News')) ?></li>
                    <li><?php echo CHtml::link("<span>Contact Us</span>", array('/site/contact'), array('title' => 'Contact  Us')) ?></li>
                </ul>
            </nav>
            <!--Top Menu(Vertical Categories) End-->
            <!-- Mobile Menu Start-->
            <nav id="menu" class="m-menu"><span>Menu</span>
                <ul>
                    <li class="categories"><a>Categories</a>
                        <?php
                        $this->widget('application.extensions.Menu.QMenu');
                        ?>
                    </li>
                </ul>
            </nav>
            <!-- Mobile Menu End-->
        </header>
        <!--Header Part End-->
        <div id="container">
            <?php echo $content ?>
            <div class="clear"></div>
        </div>
    </div>
    <!--Footer Part Start-->
    <footer id="footer" class="style-2">
        <div class="fpart-inner">
            <!-- Custom Column Part Start-->
            <div class="custom_column box5">
                <h3>Custom Column</h3>

                <div class="custom-column-content">
                    <p>You can insert any content here.<br>
                        <br>
                        Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been
                        the
                        industry's standard dummy text ever since the 1500s,<br>
                        <br>
                        when an unknown printer took a galley of type and scrambled it to make a type specimen book. It
                        has
                        survived not only five centuries, but also the leap into electronic.</p>
                </div>
            </div>
            <!-- Custom Column Part End-->
            <!-- Twitter Feeds Part Start-->
            <div class="box5" id="twitter_footer">
                <h3>Twitter Feed</h3>
                <ul id="twitter_update_list" class="twitt_icon">
                    <script type="text/javascript" src="http://twitter.com/javascripts/blogger.js"></script>
                    <script type="text/javascript"
                            src="https://api.twitter.com/1/statuses/user_timeline.json?screen_name=harnishdesign &amp;callback=twitterCallback2&amp;count=3"></script>
                </ul>
            </div>
            <!-- Twitter Feeds Part End-->
            <!-- Facebook Box Part Start-->
            <div class="box5" id="facebook">
                <h3>Join us on Facebook</h3>

                <div class="line"></div>
                <div id="fb-root"></div>
                <script>(function (d, s, id) {
                        var js, fjs = d.getElementsByTagName(s)[0];
                        if (d.getElementById(id)) return;
                        js = d.createElement(s);
                        js.id = id;
                        js.src = "http://connect.facebook.net/en_US/all.js#xfbml=1";
                        fjs.parentNode.insertBefore(js, fjs);
                    }(document, 'script', 'facebook-jssdk'));</script>
                <div class="fb-like-box" data-href="http://www.facebook.com/160281810726316" data-width="235"
                     data-show-faces="true" data-stream="false" data-header="false" data-colorscheme="dark"
                     data-connections="16" data-color-scheme="dark" data-border-color="#222222"></div>
            </div>
            <!-- Facebook Box Part End-->
            <!-- Links Start-->
            <div class="box5">
                <div class="column">
                    <h3>Extras</h3>
                    <ul>
                        <li><a href="#">Brands</a></li>
                        <li><a href="#">Gift Vouchers</a></li>
                        <li><a href="#">Affiliates</a></li>
                        <li><a href="#">Specials</a></li>
                        <li><a href="#">Returns</a></li>
                        <li><a href="#">Site Map</a></li>
                        <li><a href="#">Order History</a></li>
                        <li><a href="#">Newsletter</a></li>
                        <li><a href="contact-us.html">Contact Us</a></li>
                    </ul>
                </div>
            </div>
            <!-- Links End-->
            <div class="clear"></div>
            <!-- Contact Details Start-->
            <div class="contact contact_icon">
                <h3>Contact Us</h3>
                <ul>
                    <li class="address">Central Square, 22 Hoi Wing Road, Tuen Mun, New Delhi, India</li>
                    <li class="mobile">+91 9896989598</li>
                    <li class="fax">+91 9896989598</li>
                    <li class="email"><a href="mailto:info@contact.com">info@contact.com</a></li>
                </ul>
            </div>
            <!-- Contact Details Start-->
            <div class="clear"></div>
            <div id="powered">
                <div class="social-part">
                    <!-- Links Start-->
                    <div class="fpart_column box2">
                        <ul>
                            <li><a href="#">About Us</a></li>
                            <li><a href="#">Delivery Information</a></li>
                            <li><a href="#">Privacy Policy</a></li>
                            <li><a href="#">Terms &amp; Conditions</a></li>
                        </ul>
                    </div>
                    <!-- Links End-->
                    <!-- Powered by Text Start-->
                    <div class="powered_text box2">
                        <p>Polishop Html Template &copy; 2013 | Theme By <a target="_blank"
                                                                            href="http://harnishdesign.net/">Harnish
                                Design</a></p>
                    </div>
                    <!-- Powered by Text End-->
                </div>
                <!-- Payment Images Icon Start-->
                <div class="payments_types part3"><img
                        src="<?php echo Yii::app()->request->baseUrl; ?>/assets/theme_a/image/payment_paypal.png"
                        alt="paypal" title="PayPal"> <img
                        src="<?php echo Yii::app()->request->baseUrl; ?>/assets/theme_a/image/payment_american.png"
                        alt="american-express" title="American Express"> <img
                        src="<?php echo Yii::app()->request->baseUrl; ?>/assets/theme_a/image/payment_2checkout.png"
                        alt="2checkout" title="2checkout"> <img
                        src="<?php echo Yii::app()->request->baseUrl; ?>/assets/theme_a/image/payment_maestro.png"
                        alt="maestro" title="Maestro"> <img
                        src="<?php echo Yii::app()->request->baseUrl; ?>/assets/theme_a/image/payment_discover.png"
                        alt="discover" title="Discover"></div>
                <!-- Payment Images Icon End-->
                <!-- Follow Social Icons Start-->
                <div class="social part3"><a href="http://facebook.com/harnishdesign" target="_blank"><img
                            src="<?php echo Yii::app()->request->baseUrl; ?>/assets/theme_a/image/facebook.png"
                            alt="Facebook" title="Facebook"></a> <a href="https://twitter.com/#!/harnishdesign"
                                                                    target="_blank"><img
                            src="<?php echo Yii::app()->request->baseUrl; ?>/assets/theme_a/image/twitter.png"
                            alt="Twitter"
                            title="Twitter"> </a> <a href="#" target="_blank"><img
                            src="<?php echo Yii::app()->request->baseUrl; ?>/assets/theme_a/image/googleplus.png"
                            alt="Google+" title="Google+"> </a> <a href="#" target="_blank"><img
                            src="<?php echo Yii::app()->request->baseUrl; ?>/assets/theme_a/image/pinterest.png"
                            alt="Pinterest" title="Pinterest"> </a> <a href="#" target="_blank"><img
                            src="<?php echo Yii::app()->request->baseUrl; ?>/assets/theme_a/image/rss.png" alt="RSS"
                            title="RSS"> </a> <a href="http://www.vimeo.com/#" target="_blank"><img
                            src="<?php echo Yii::app()->request->baseUrl; ?>/assets/theme_a/image/vimeo.png" alt="Vimeo"
                            title="Vimeo"></a></div>
                <!-- Follow Social Icons End-->
                <div class="clear"></div>
            </div>
            <!-- Back to Top Button Start-->
            <div class="back-to-top" id="back-top"><a title="Back to Top" href="javascript:void(0)"
                                                      class="backtotop">Top</a></div>

            <!-- Back to Top Button End-->
        </div>
    </footer>
    <!--Footer Part End-->
</div>

<!-- JS Part Start-->
<script type="text/javascript"
        src="<?php echo Yii::app()->request->baseUrl; ?>/assets/theme_a/js/jquery-1.7.1.min.js"></script>
<script type="text/javascript"
        src="<?php echo Yii::app()->request->baseUrl; ?>/assets/theme_a/js/jquery.nivo.slider.pack.js"></script>
<script type="text/javascript"
        src="<?php echo Yii::app()->request->baseUrl; ?>/assets/theme_a/js/jquery.flexslider.js"></script>
<script type="text/javascript"
        src="<?php echo Yii::app()->request->baseUrl; ?>/assets/theme_a/js/jquery.easing-1.3.min.js"></script>
<script type="text/javascript"
        src="<?php echo Yii::app()->request->baseUrl; ?>/assets/theme_a/js/jquery.jcarousel.min.js"></script>
<script type="text/javascript"
        src="<?php echo Yii::app()->request->baseUrl; ?>/assets/theme_a/js/colorbox/jquery.colorbox-min.js"></script>
<script type="text/javascript" src="<?php echo Yii::app()->request->baseUrl; ?>/assets/theme_a/js/tabs.js"></script>
<script type="text/javascript"
        src="<?php echo Yii::app()->request->baseUrl; ?>/assets/theme_a/js/cloud_zoom.js"></script>
<script type="text/javascript"
        src="<?php echo Yii::app()->request->baseUrl; ?>/assets/theme_a/js/jquery.dcjqaccordion.js"></script>
<script type="text/javascript" src="<?php echo Yii::app()->request->baseUrl; ?>/assets/theme_a/js/custom.js"></script>
<script type="text/javascript" src="<?php echo Yii::app()->request->baseUrl; ?>/assets/theme_a/js/html5.js"></script>

<!-- JS Part End-->
<script type="text/javascript">
    var $window = $(window),
        flexslider;
    function getGridSize() {
        return (window.innerWidth < 320) ? 1 :
            (window.innerWidth < 600) ? 2 :
                (window.innerWidth < 800) ? 3 :
                    (window.innerWidth < 900) ? 4 : 5;
    }

    (function () {
        $('.flex_slider').flexslider({
            animation: "fade"
        });

        $('#product-tab .featured_carousel_tab, #product-tab .latest_carousel_tab, #product-tab' +
            ' .bestseller_carousel_tab, #product-tab .special_carousel_tab').flexslider({
            animation: "slide",
            animationLoop: false,
            slideshow: false,
            itemWidth: 210,
            minItems: getGridSize(), // use function to pull in initial value
            maxItems: getGridSize(), // use function to pull in initial value
            start: function () {
                $("#product-tab .tab_content").addClass("deactive");
                $("#product-tab .tab_content:first").removeClass("deactive"); //Show first tab content
            }
        });


        //Default Action
        $("ul#tabs li:first").addClass("active").show(); //Activate first tab
        //On Click Event
        $("ul#tabs li").click(function () {
            $("ul#tabs li").removeClass("active"); //Remove any "active" class
            $(this).addClass("active"); //Add "active" class to selected tab
            $("#product-tab .tab_content").hide();
            var activeTab = $(this).find("a").attr("href"); //Find the rel attribute value to identify the active tab + content
            $(activeTab).fadeIn(); //Fade in the active content
            return false;
        });

        $('#content .featured_carousel').flexslider({
            animation: "slide",
            animationLoop: false,
            slideshow: false,
            itemWidth: 210,
            minItems: getGridSize(), // use function to pull in initial value
            maxItems: getGridSize() // use function to pull in initial value
        });
    }());

</script>

</body>
</html>
